package is.api.demo.isgateway.support;


import java.io.Serializable;

//忽略未知字段，局部忽略
//@JsonIgnoreProperties(ignoreUnknown = true)
public class IsGatewayApiResponse implements Serializable {
    /**
     * 平台状态码
     */
    private String code;
    /**
     * 返回提示信息
     */
    private String message;
    /**
     * 返回的业务数据
     */
    private Object data;
    /**
     * 返回的业务数据
     */
    private Object result;
    /**
     * 返回的业务数据 json str
     */
    private String resultDetail;

    private String arguments;
    private Object attributes;
    private String errorDetail;
    private String errorMessage;
    private String status;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public String getResultDetail() {
        return resultDetail;
    }

    public void setResultDetail(String resultDetail) {
        this.resultDetail = resultDetail;
    }

    public String getArguments() {
        return arguments;
    }

    public void setArguments(String arguments) {
        this.arguments = arguments;
    }

    public Object getAttributes() {
        return attributes;
    }

    public void setAttributes(Object attributes) {
        this.attributes = attributes;
    }

    public String getErrorDetail() {
        return errorDetail;
    }

    public void setErrorDetail(String errorDetail) {
        this.errorDetail = errorDetail;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "IsGatewayApiResponse{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                ", result=" + result +
                ", resultDetail='" + resultDetail + '\'' +
                ", arguments='" + arguments + '\'' +
                ", attributes=" + attributes +
                ", errorDetail='" + errorDetail + '\'' +
                ", errorMessage='" + errorMessage + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
